From: Keir Fraser Date: Thu, 2 Jul 2009 10:31:58 +0000 (+0100) Subject: x86 hvm: Remove assertion that PIC IRQs are delivered only to VCPU0. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13662 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4e0aaab31b03124d21d3bee27f26dd7edfc17547;p=xen.git x86 hvm: Remove assertion that PIC IRQs are delivered only to VCPU0. It's no longer true, if the guest reprograms IOAPIC pin0 for example. Signed-off-by: Kouya Shimura --- diff --git a/xen/arch/x86/hvm/irq.c b/xen/arch/x86/hvm/irq.c index 90e1f45174..beec1fc72c 100644 --- a/xen/arch/x86/hvm/irq.c +++ b/xen/arch/x86/hvm/irq.c @@ -355,7 +355,6 @@ struct hvm_intack hvm_vcpu_ack_pending_irq( intack = hvm_intack_none; break; case hvm_intsrc_pic: - ASSERT(v->vcpu_id == 0); if ( (vector = vpic_ack_pending_irq(v)) == -1 ) intack = hvm_intack_none; else